package com.flashshe.ds
{
	import com.flashshe.error.MethodNotImplementError;
	
	
	
	public class AbstractStructure implements IStructure
	{		
		public function get size():int
		{
			throw new MethodNotImplementError("size()");
		}
		
		public function isEmpty():Boolean
		{
			return size == 0;
		}
		
		public function clear():void
		{
			throw new MethodNotImplementError("clear()");
		}
		
		public function contains(v:Object):Boolean
		{
			throw new MethodNotImplementError("contains()");
		}
				
		
		public function get iterator():IIterator
		{
			throw new MethodNotImplementError("get iterator()");
		}
	}
}